#pragma once
#include "afxcmn.h"
#include "DlgHomeTab.h"
#include "afxwin.h"

// CDlgFilter dialog

class CDlgFilter : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgFilter)

public:
	CDlgFilter(CWnd* pParent = NULL);   // standard constructor
	CDlgFilter(CDlgHomeTab* pParent);
	virtual ~CDlgFilter();

// Dialog Data
	enum { IDD = IDD_DIALOG_FILTER };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	void Apply();
	CDlgHomeTab *m_pHomeTab;
	DECLARE_MESSAGE_MAP()
public:
	CSliderCtrl m_ctrSliderBlur;
	CSliderCtrl m_ctrSliderEdge;
	CButton m_ctrCheckBlur;
	afx_msg void OnBnClickedCheckBlur();
	CButton m_ctrCheckEdge;
	afx_msg void OnBnClickedCheckEdge();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnBnClickedCancel();
	afx_msg void OnBnClickedOk();
};
